package com.innovation.wjrpc.transport;

import com.innovation.wjrpc.protocol.Peer;


/**
 * @author innoyiya
 * @date 2021/3/5 23:14
 */
public interface TransportClient<T, E> {

    void connect(Peer peer);

    T write(E data);

    void close();
}
